package org.ne.springboot.service;

import org.ne.springboot.pojo.Article;
import org.ne.springboot.pojo.PageBean;

/**
 * @author wey
 * @Date 2025/1/2 下午8:51 1月
 */
public interface ArticleService {
    void add(Article article);

    PageBean<Article> list(Integer pageNum, Integer pageSize, String categoryId, String state);

    void deleteById(Integer id);

    Article findById(Integer id);

    void update(Article article);
}
